import React from 'react';
import { BrowserRouter } from 'react-router-dom';
import { ConfigProvider } from 'antd';
import zhCN from 'antd/locale/zh_CN';
import BaseRouter from './routes';

const App = () => (
    <ConfigProvider locale={zhCN}>
        <BrowserRouter>
            <BaseRouter />
        </BrowserRouter>
    </ConfigProvider>
);

export default App;
